<%@ page import="dev.me2hat.bean.*" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    User user = (User) request.getAttribute("user");
%>
<html>
<head>
    <title>用户信息</title>
</head>
<body>
<h1>Hello <%= user.name %></h1>
<p>学校名字：
    <span style="color: red">
        <%= user.school.name %>
    </span>
</p>
<p>学校地址：
    <span style="color: red">
        <%= user.school.address %>
    </span>
</p>
</body>
</html>
